Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

Previous | Chapter Top | Chapter Contents | Next |

MIDI Packet

The MIDI packet structure describes the data passed by note allocation calls. It is defined by the MusicMIDIPacket data type.

struct MusicMIDIPacket {
    unsigned short          length;
    unsigned long           reserved;           
    UInt8                   data[249];
};
typedef struct MusicMIDIPacket MusicMIDIPacket;
length
The length of the data in the packet.
reserved
This field contains zero or one of the music packet status constants. Music Packet Status
data[249 ]
The MIDI data.

This is the count of data bytes only, unlike MIDI Manager or OMS packets.


© 1999 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next